package com.cyl.manager.aws.pojo.vo;

import java.math.BigDecimal;

import com.cyl.manager.aws.domain.entity.ProfitDetailsStatistics;
import com.ruoyi.common.annotation.Excel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 毛利润统计明细 数据视图对象
 * 
 * @author hxw
 */
@Data
public class ProfitDetailsStatisticsVO  {


	
	 public ProfitDetailsStatisticsVO() {
			super();
	}
    
    public ProfitDetailsStatisticsVO(ProfitDetailsStatistics s,String brandmc,String deptDpmc) {
		super();
		this.tjdata = s.getTjdata();
		this.brandId = s.getBrandId();
		this.deptDpId = s.getDeptDpId();
		this.id = tjdata+"_"+brandId+"_"+deptDpId;
		this.payQuantity = s.getPayQuantity();
		this.retQuantity = s.getRetQuantity();
		this.payConut = s.getPayConut();
		this.retConut = s.getRetConut();
		this.payAmount = s.getPayAmount();
		this.retAmount = s.getRetAmount();
		this.paySysAmount = s.getPaySysAmount();
		this.retSysAmount = s.getRetSysAmount();
		this.payGysAmount = s.getPayGysAmount();
		this.retGysAmount = s.getRetGysAmount();
		this.payDpAmount = s.getPayDpAmount();
		this.retDpAmount = s.getRetDpAmount();
		this.payFeeAmount = s.getPayFeeAmount();
		this.retFeeAmount = s.getRetFeeAmount();
		this.brandmcStr = brandmc;
		this.deptDpmcStr = deptDpmc;

		this.sumAmount = s.getPayAmount().subtract(s.getRetAmount());
		this.sumSysAmount = s.getPaySysAmount().subtract(s.getRetSysAmount());
		this.sumGysAmount = s.getPayGysAmount().subtract(s.getRetGysAmount());
		this.sumDpAmount = s.getPayDpAmount().subtract(s.getRetDpAmount());
		this.sumFeeAmount = s.getPayFeeAmount().subtract(s.getRetFeeAmount());
	}
    
    private String id;
    
    private String brandmcStr;
    
    
    private String deptDpmcStr;
    
    
	@Excel(name = "日期")
    private Integer tjdata;
    

    @Excel(name = "供应商id")
    private Long brandId;
    
    @Excel(name = "供应商名称")
    private Long brandmc;
    
    
    @Excel(name = "店铺id")
    private Long deptDpId;
    
    @Excel(name = "店铺名称")
    private Long deptDpmc;


 
    
    



    
    @Excel(name = "收单结算总金额（元）")
    private BigDecimal payAmount;
    @Excel(name = "退单结算总金额（元）")
    private BigDecimal retAmount;
    @Excel(name = "应结算总金额（元）")
    private BigDecimal sumAmount;
    

    
    @Excel(name = "收单平台应结算金额（元）")
    private BigDecimal paySysAmount;
    @Excel(name = "退单平台应结算金额（元）")
    private BigDecimal retSysAmount;  
    @Excel(name = "平台应结算金额（元）")
    private BigDecimal sumSysAmount;  
    
    @Excel(name = "收单供应商应结算金额（元）")
    private BigDecimal payGysAmount;
    @Excel(name = "退单供应商应结算金额（元）")
    private BigDecimal retGysAmount;
    @Excel(name = "供应商应结算金额（元）")
    private BigDecimal sumGysAmount;
    
    @Excel(name = "收单店铺应结算金额（元）")
    private BigDecimal payDpAmount;
    @Excel(name = "退单店铺应结算金额（元）")
    private BigDecimal retDpAmount;
    @Excel(name = "店铺应结算金额（元）")
    private BigDecimal sumDpAmount;
    
    
    @ApiModelProperty("收单手续费")
    //@Excel(name = "支付手续费")
    private BigDecimal payFeeAmount;
    @ApiModelProperty("退单手续费")
    //@Excel(name = "退单手续费")
    private BigDecimal retFeeAmount;
    @ApiModelProperty("手续费")
    //@Excel(name = "手续费")
    private BigDecimal sumFeeAmount;
    
    @ApiModelProperty("收单商品数")
    @Excel(name = "收单商品数")
    private Integer payQuantity;
    @ApiModelProperty("退单商品数")
    @Excel(name = "退单商品数")
    private Integer retQuantity;
    

    @ApiModelProperty("退单订单数")
    @Excel(name = "退单订单数")
    private Integer payConut;
    @ApiModelProperty("退单订单数")
    @Excel(name = "退单订单数")
    private Integer retConut;
    
    
    
    
    
    
}
